package com.bonc.modules.fileManage.Dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface FileDao {
    List<Map<String, Object>> queryFileByFileName(Map<String, String> paramMap);

    Integer deleteFileData(Map<String, String> paramMap);

    Integer importFileData(Map<String, String> paramMap);

    Page<List<Map<String, Object>>> queryFilePage(@Param("defaultPage") Page<Object> defaultPage,@Param("params") Map<String, Object> params);

    List<Map<String, Object>> queryFileType();

    Map<String, String> getFileManageType(String fileTypeNum);

    void delFile(Map<String, String> paramMap);
}
